package com.yuhanginfo.modules.web.dao;

import java.util.List;
import java.util.Map;

import com.yuhanginfo.common.persistence.CrudDao;
import com.yuhanginfo.common.persistence.annotation.MyBatisDao;
import com.yuhanginfo.modules.web.entity.WebCar;

@MyBatisDao
public interface WebCarDao  extends CrudDao<WebCar>{
	/**
	 * 通过配件编号查询品牌车型年
	 * @param partNo
	 * @return
	 */
	List<WebCar> getCarInfoByPartNo(String partNo);
	
	List<WebCar> getAllCarBarand();
	
	List<String> getCarCodeByBarand(String barandCode);
	
	List<String> getCarYearByCode(String code);
	
	List<WebCar> getCarTypeAndFirstCode(String barandCode);
	
	List<WebCar> getCarType(Map<String, String> map);
	
	List<WebCar> getCarCode(String carType);
	
	List<WebCar> getCarYear(String carCode);

	List<WebCar> getCarListByIds(List<Integer> carIdList);
}
